import React from 'react';
import ReactDOM from 'react-dom';
import App from './App';
// import 'antd/dist/antd.css';
// 3. 导入样式
// 临时解决办法
import 'antd/dist/antd.min.css';

import 'moment/locale/zh-cn';
import { ConfigProvider } from 'antd';
import locale from 'antd/lib/locale/zh_CN';
ReactDOM.render(
  <ConfigProvider locale={locale}>
    <App />
  </ConfigProvider>,
  document.getElementById('root')
);
